package one.stand.service;

import com.github.vioao.wechat.bean.response.component.wxa.template.LibraryAddResponse;
import com.github.vioao.wechat.bean.response.component.wxa.template.LibraryListResponse;
import com.github.vioao.wechat.bean.response.component.wxa.template.TemplateListResponse;

/**
 * @author: QIK
 * @CreateDate: 2019/5/13 18:45
 */
public interface TemplateService {
    /**
     * 获取所有模板列表
     * @param appId
     * @param offset
     * @param count
     * @return
     */
    LibraryListResponse libraryList(String appId,Integer offset,Integer count);

    /**
     * 添加消息模板
     * @param appId
     * @return
     */
    LibraryAddResponse libraryAdd(String appId, String noticeId, Integer...code);

    /**
     * 获取小程序存在的消息模板
     * @param appId
     * @param offset
     * @param count
     * @return
     */
    TemplateListResponse list(String appId,  Integer offset, Integer count);

}
